package com.dff.jrfw.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class TokenBodyModel {

    /**
     * aud : ["NS_WEBS"]
     * user_name : {"branchName":"未知","branchNo":"001","certDN":"","currCustNo":"0019","custName":"未知","custNo":"0019","custShortName":"未知","devices":[],"firstEnter":2,"uType":"3","userId":0,"userName":"欧阳林1","userNo":"ouyl1"}
     * scope : ["ROLE_API"]
     * exp : 1617905968
     * authorities : ["admin"]
     * jti : d59eed8f-7c6b-45c4-b330-5d11741ea16a
     * client_id : NSTCAPP
     */

    @SerializedName("aud")
    private List<String> aud;
    @SerializedName("user_name")
    private String userName;
    @SerializedName("scope")
    private List<String> scope;
    @SerializedName("exp")
    private Integer exp;
    @SerializedName("authorities")
    private List<String> authorities;
    @SerializedName("jti")
    private String jti;
    @SerializedName("client_id")
    private String clientId;

    public List<String> getAud() {
        return aud;
    }

    public void setAud(List<String> aud) {
        this.aud = aud;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public List<String> getScope() {
        return scope;
    }

    public void setScope(List<String> scope) {
        this.scope = scope;
    }

    public Integer getExp() {
        return exp;
    }

    public void setExp(Integer exp) {
        this.exp = exp;
    }

    public List<String> getAuthorities() {
        return authorities;
    }

    public void setAuthorities(List<String> authorities) {
        this.authorities = authorities;
    }

    public String getJti() {
        return jti;
    }

    public void setJti(String jti) {
        this.jti = jti;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }
}
